(vc-name): Avoid calling vc-backend twice.
authorDan Nicolaescu <dann@ics.uci.edu>
Wed, 1 Apr 2009 15:42:09 +0000 (15:42 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Wed, 1 Apr 2009 15:42:09 +0000 (15:42 +0000)
commit2cdb907a53a1997fd807464836701f8a9e9113be
treeb264ee5d595b1406e8c85e4ed3b9a0ade5f10a49
parent699864787cc54f99310d6742370234c67ef2452e
(vc-name): Avoid calling vc-backend twice.
(vc-mode-line): Accept and use an optional argument for the
backend.
(vc-find-file-hook): Use when instead of if.  Avoid calling
vc-backend multiple times, pass down the value computed the first
time.
lisp/ChangeLog
lisp/vc-hooks.el